package com.ruoyi.gybj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警删除申请对象 gybj_alarm_del_apply
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class AlarmDelApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 变更单号 */
    @Excel(name = "变更单号")
    private String changeNo;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long appplyUserId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String applyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 删除原因 */
    @Excel(name = "删除原因")
    private String delReason;

    /** 审核状态: 0待审核、1审核中、2通过、3驳回 */
    @Excel(name = "审核状态: 0待审核、1审核中、2通过、3驳回")
    private String approvalStatus;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setChangeNo(String changeNo) 
    {
        this.changeNo = changeNo;
    }

    public String getChangeNo() 
    {
        return changeNo;
    }

    public void setAppplyUserId(Long appplyUserId) 
    {
        this.appplyUserId = appplyUserId;
    }

    public Long getAppplyUserId() 
    {
        return appplyUserId;
    }

    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }

    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    public void setDelReason(String delReason) 
    {
        this.delReason = delReason;
    }

    public String getDelReason() 
    {
        return delReason;
    }

    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("changeNo", getChangeNo())
            .append("appplyUserId", getAppplyUserId())
            .append("applyUserName", getApplyUserName())
            .append("applyTime", getApplyTime())
            .append("delReason", getDelReason())
            .append("approvalStatus", getApprovalStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
